reasons for using the GeoIP module (why): Requests are forwarded to customers in different cities for the needs of the project, eg:When Tianjin User A visited www.XXXX.com, Nginx forwarded this request to the Tianjin server and the domain name of
Transferred from: http://www.21andy.com/blog/20100405/1799.html
There are 2 standard methods of using GeoIP
The first method:Download the GeoIP data file first
Wget-c
Awstats is a foreign open source of the website PV flow monitoring software, can obtain Apache or Nginx log information, the log useful information to integrate into the HTML page display, because the content of the analytic log is very meticulous,
GeoIP PHP extension installation and configuration, geoipphp Extension Configuration
Author: zhanhailiang Date:
1. Install GeoIP-devel and GeoIP Dependencies
GeoIP-devel.x86_64 : Development headers and libraries for GeoIPGeoIP.x86_64 : Library for
Believe that have done awstats have used the open source Geoip.dat IP database, just nginx wiki on the GeoIP module, so that can achieve a regional load balance, but the Maxmind of IP database for China's support is not too good, but now is not bad ~
Author: zhanhailiang Date: 2014-12-08
1. Install dependent Geoip-devel,geoip
Geoip-devel.x86_64:development headers and libraries for GeoIPGeoIP.x86_64:Library-country/city/organization to IP Address or hostname mapping
Yum Install geoip.x86_64
Zhanhailiang Date: 2014-12-081. Install dependent Geoip-devel,geoipgeoip-devel.x86_64:development headers and libraries for geoipgeoip.x86_64: Library for Country/city/organization to IP address or hostname mapping Yum Install Geoip.x86_64
How to Use DNS + geoip + nginx + varnish as a world-class CDN
How to use bind, geoip, nginx, and varnish to create your own efficient CDN network?CDN stands for content distrubtion Network, which is a content delivery network. In short, it refers to
This article is from the "practice test truth" blog
How to use BIND, GeoIP, Nginx, and Varnish to create your own efficient CDN network?CDN stands for Content Distrubtion Network, which is a Content delivery Network. In short, it refers to Server
Today, the high volume of servers, IP from China, and is not normal access to the IP, resulting in PHP-FPM CPU 100%, the site is very slow to open, has already used iptables limit the number of connections, but because the same IP connection number
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.